import request from '~/utils/request'
export default{
  // 远程访问微服务
  getBanners() {
    return request({
      baseURL: 'http://localhost:8140',
      url: '/api/cms/ad/banners',
      method: 'get'
    })
  },
  getTeacher() {
    return request({
      baseURL: 'http://localhost:8140',
      url: '/api/cms/ad/teachers',
      method: 'get'
    })
  },
  getCourse() {
    return request({
      baseURL: 'http://localhost:8140',
      url: '/api/cms/ad/courses',
      method: 'get'
    })
  }
}
